from selenium.webdriver.common.by import By

# 切换语言按钮
change_language_btn=By.XPATH,'//button[contains(@class,"text-fg-01-light")]'

# 主文案
text_main=By.XPATH,'//h1[contains(@class,"mt-4 whitespace-pre-line")]'

# 主文案下方
text_middle=By.XPATH,'//span[contains(@class,"text-pretty text-sm leading-5")]'

# 开始按钮
start_btn=By.XPATH,'//a[contains(@class,"box-shadow-06 ")]'

# 上方左部区域
head_total_left=By.XPATH,'//div[@class="flex flex-row gap-6"]/div[1]'
# 左部第一个按钮
head_left_btn1=By.XPATH,'//div[@class="flex flex-row gap-6"]/div/a[1]'
# 左部第二个按钮
head_left_btn2=By.XPATH,'//div[@class="flex flex-row gap-6"]//span'
# 左部第三个按钮
head_left_btn3=By.XPATH,'//div[@class="flex flex-row gap-6"]/div/a[2]'
# 左部第四个按钮
head_left_btn4=By.XPATH,'//div[@class="flex flex-row gap-6"]/div/a[3]'

# 右部整体
head_total_right=By.XPATH,'//div[@class="flex flex-row gap-2"]'
# 右部第一个按钮
head_right_btn1=By.XPATH,'//div[@class="flex flex-row gap-2"]/a[1]'
# 右部第二个按钮
head_right_btn2=By.XPATH,'//div[@class="flex flex-row gap-2"]/a[2]'

# 语言
language1=By.XPATH,'(//span[@class="flex-1"])[1]'
language2=By.XPATH,'(//span[@class="flex-1"])[2]'
language3=By.XPATH,'(//span[@class="flex-1"])[3]'
language4=By.XPATH,'(//span[@class="flex-1"])[4]'
language5=By.XPATH,'(//span[@class="flex-1"])[5]'
language6=By.XPATH,'(//span[@class="flex-1"])[6]'
language7=By.XPATH,'(//span[@class="flex-1"])[7]'
language8=By.XPATH,'(//span[@class="flex-1"])[8]'
language9=By.XPATH,'(//span[@class="flex-1"])[9]'
language10=By.XPATH,'(//span[@class="flex-1"])[10]'
language11=By.XPATH,'(//span[@class="flex-1"])[11]'
language12=By.XPATH,'(//span[@class="flex-1"])[12]'
language13=By.XPATH,'(//span[@class="flex-1"])[13]'
language14=By.XPATH,'(//span[@class="flex-1"])[14]'
language15=By.XPATH,'(//span[@class="flex-1"])[15]'


expected_texts = {
    1: {  # 对应language1
        'text_main': "AI Mind Map Summarizer",
        'text_middle': "Summarize YouTube, PDFs/Docs, URLs, Long Emails,Meeting Recordings into Mind Maps in seconds.Powered by GPT-4o, Claude 3.5, or other top LLMs.",
        'head_left_btn1': "Extension",
        'head_left_btn2':"Tools",
        'head_left_btn3':"Pricing",
        'head_left_btn4':"FAQ",
        'head_right_btn1':"Sign in",
        'head_right_btn2':"Start for free",
        'start_btn':"Start for free"
    },
    2: {  # 对应language2
        'text_main': "AI マインドマップ要約ツール",
        'text_middle': "数秒でYouTube、PDF/Word、URL、長文メール、会議の録音をマインドマップにまとめられます。GPT-4o、Claude 3.5、またはその他の世界最先端のLLMを搭載しています。",
        'head_left_btn1': "拡張機能",
        'head_left_btn2':"機能一覧",
        'head_left_btn3':"料金プラン",
        'head_left_btn4':"よくあるご質問",
        'head_right_btn1':"ログイン",
        'head_right_btn2':"無料で始める",
        'start_btn':"無料で始める"
    },

    # 2: {  # 对应language2
    #     'text_main': "法语主文案",
    #     'text_middle': "法语中间文案",
    #     # ...其他元素的预期文本
    # },
    # ...继续添加其他语言预期文本
}